﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#include "GcmpDevService.h"
#pragma once

namespace gcmp
{
    class IProgressReporter;

    /// \brief 进度观察者接口
    /// \see IProgressReporter
    class GCMP_DEV_SERVICE_EXPORT IProgressObserver
    {
    public:
        /// \brief 观察到顶层进度报告器的进度发生了变化
        /// \param pTopProgressReporter 顶层的进度报告器
        virtual void ProgressChanged(IProgressReporter* pTopProgressReporter) = 0;

    public:
        /// \brief 析构函数
        virtual ~IProgressObserver();
    };
}

